package treePackage;

public class LinkedHashNode {
	
	private int key;
	private int value;
	private LinkedHashNode next;
	 
    LinkedHashNode(int key, int value) {
    	this.key = key;
	    this.value = value;
	    this.next = null;
	}
	 
	public int getValue() {
		return value;
	}
	 
	public void setValue(int value) {
		this.value = value;
	}
	 
	public int getKey() {
		return key;
	}
	 
	public LinkedHashNode getNext() {
		return next;
	}
	 
	public void setNext(LinkedHashNode next) {
		this.next = next;
	}
	
}
